/*
 * Copyright 2010 Stefan Bachert, wwwApp, http://gwtworld.de
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

@eval decorFont a1.decor.Decor.getFont();
@eval decorFixedFont a1.decor.Decor.getFixedFont();
@eval decorEditFont a1.decor.Decor.getEditFont();
@eval decorLabelFont a1.decor.Decor.getLabelFont();
@eval decorButtonFont a1.decor.Decor.getButtonFont();
@eval decorCaptionFont a1.decor.Decor.getCaptionFont();
@eval decorTabFont a1.decor.Decor.getTabFont();
@eval decorMenuFont a1.decor.Decor.getMenuFont();

@eval decorColor a1.decor.Decor.getColor();
@eval decorLinkColor a1.decor.Decor.getLinkColor();
@eval decorColorDisabled a1.decor.Decor.getColorDisabled();
@eval decorColorError a1.decor.Decor.getColorError();
@eval decorColorHint a1.decor.Decor.getColorHint();

@eval decorMenuColor a1.decor.Decor.getMenuColor();
@eval decorEditColor a1.decor.Decor.getEditColor();
@eval decorLabelColor a1.decor.Decor.getLabelColor();
@eval decorButtonColor a1.decor.Decor.getButtonColor();
@eval decorCaptionColor a1.decor.Decor.getCaptionColor();
@eval decorTabColor a1.decor.Decor.getTabColor();

@eval decorBackground a1.decor.Decor.getBackground();

@eval decorSelectionMenu a1.decor.Decor.getSelectionMenu();
@eval decorSelectionRow a1.decor.Decor.getSelectionRow();
@eval decorSelectionColumn a1.decor.Decor.getSelectionColumn();
@eval decorSelectionCell a1.decor.Decor.getSelectionCell();

@eval decorMargin a1.decor.Decor.getMargin();

@eval decorBorder a1.decor.Decor.getBorder();
@eval decorBorderRaised a1.decor.Decor.getBorderRaised();
@eval decorBorderPressed a1.decor.Decor.getBorderPressed();
@eval decorBorderNormal a1.decor.Decor.getBorderNormal();
@eval decorBorderFocused a1.decor.Decor.getBorderFocused();
@eval decorBorderImportant a1.decor.Decor.getBorderImportant();
@eval decorBorderNorth a1.decor.Decor.getBorderTabNorth();
@eval decorBorderEast a1.decor.Decor.getBorderTabEast();
@eval decorBorderSouth a1.decor.Decor.getBorderTabSouth();
@eval decorBorderWest a1.decor.Decor.getBorderTabWest();

@eval decorPadding a1.decor.Decor.getPadding();
@eval decorEditPadding a1.decor.Decor.getEditPadding();
@eval decorCaptionPadding a1.decor.Decor.getCaptionPadding();
@eval decorMenuPadding a1.decor.Decor.getMenuPadding();
@eval decorTextPadding a1.decor.Decor.getTextPadding();
@eval decorTextPressedPadding a1.decor.Decor.getTextPressedPadding();
@eval decorBoxLabelPadding a1.decor.Decor.getBoxLabelPadding();
@eval decorDialogPadding a1.decor.Decor.getDialogPadding();


body, table td, select {
  font: decorFont;
}
pre {
  font: decorFixedFont;
}

body {
  color: decorColor;
  margin: decorMargin;
  border: decorBorder;
  padding: decorPadding;
  background: decorBackground;
}
a, a:visited, a:hover {
  color: decorLinkColor;
}

@external topRightInner,stackItemMiddleLeft,gwt-SplitLayoutPanel-VDragger,tabTopLeft;
@external gwt-StackPanelItem-first,gwt-StackLayoutPanelContent,gwt-TabBarItem,gwt-TabBar,bottomRight;
@external popupMiddleLeft,tabTopLeftInner,gwt-TabBarItem-disabled,popupTopRight,popupTopLeft;
@external gwt-DecoratedStackPanel,tabMiddleLeft,topLeftInner,tabTopRightInner,stackItemMiddleCenter;
@external popupBottomRightInner,popupTopLeftInner,tabTopCenter,gwt-DecoratedTabBar,gwt-DisclosurePanel-closed;
@external gwt-DecoratedPopupPanel,gwt-HorizontalSplitPanel,stackItemTopRightInner,header;
@external gwt-TabLayoutPanelTab-selected,content,popupBottomLeftInner,tabMiddleRightInner,gwt-RichTextArea;
@external middleRight,gwt-TabPanelBottom,stackItemTopLeftInner,stackItemMiddleRightInner,popupBottomLeft;
@external stackItemTopLeft,gwt-SplitLayoutPanel-HDragger,gwt-StackLayoutPanelHeader,gwt-StackLayoutPanel;
@external gwt-DisclosurePanel,gwt-TabBarItem-selected,gwt-TabLayoutPanelTab,bottomLeft,topRight,gwt-TabLayoutPanel;
@external gwt-DisclosurePanel-open,topLeft,gwt-TabLayoutPanelTabs,gwt-TabPanel,bottomLeftInner,hsplitter;
@external gwt-TabBarRest,popupTopCenter,gwt-StackPanelItem,popupMiddleCenter,topCenter,stackItemTopRight;
@external popupBottomCenter,stackItemMiddleLeftInner,gwt-DecoratorPanel,popupContent,stackItemTopCenter;
@external vsplitter,middleLeft,bottomCenter,gwt-TabBarFirst,popupBottomRight,gwt-StackPanel,tabMiddleLeftInner;
@external popupTopRightInner,tabMiddleRight,gwt-VerticalSplitPanel,tabMiddleCenter,tabTopRight,bottomRightInner;
@external gwt-TabLayoutPanelContent,popupMiddleRight,stackItemMiddleRight,gwt-StackPanelContent;


.gwt-DecoratorPanel {
}

@sprite .gwt-DecoratorPanel .topCenter {gwt-image: "borderN";}
@sprite .gwt-DecoratorPanel .topRight {gwt-image: "borderNE";}
@sprite .gwt-DecoratorPanel .topRightInner {gwt-image: "borderNE";}
@sprite .gwt-DecoratorPanel .middleRight {gwt-image: "borderE";}
@sprite .gwt-DecoratorPanel .bottomRight {gwt-image: "borderSE";}
@sprite .gwt-DecoratorPanel .bottomRightInner {gwt-image: "borderSE";}
@sprite .gwt-DecoratorPanel .bottomCenter {gwt-image: "borderS";}
@sprite .gwt-DecoratorPanel .bottomLeft {gwt-image: "borderSW";}
@sprite .gwt-DecoratorPanel .bottomLeftInner {gwt-image: "borderSW";}
@sprite .gwt-DecoratorPanel .middleLeft {gwt-image: "borderW";}
@sprite .gwt-DecoratorPanel .topLeft {gwt-image: "borderNW";}
@sprite .gwt-DecoratorPanel .topLeftInner {gwt-image: "borderNW";}

.gwt-DisclosurePanel {
}
.gwt-DisclosurePanel-open {
}
.gwt-DisclosurePanel-closed {
}
.gwt-DisclosurePanel .header,
.gwt-DisclosurePanel .header a,
.gwt-DisclosurePanel .header td {
  text-decoration: none;  /* Remove underline from header */
  cursor: pointer;
  cursor: hand;
  color: decorTabColor; 
}
@sprite .gwt-DisclosurePanel .content {gwt-image:"dialog";}
.gwt-DisclosurePanel .content {
	margin-left:2em;
}


.gwt-HorizontalSplitPanel {
}
.gwt-HorizontalSplitPanel .hsplitter {
  cursor: move;
  border: 0px; 
}
@sprite .gwt-HorizontalSplitPanel .hsplitter {gwt-image:"hsplitter";}

.gwt-VerticalSplitPanel {
}
.gwt-VerticalSplitPanel .vsplitter {
  cursor: move;
  border: 0px; 
}
@sprite .gwt-VerticalSplitPanel .vsplitter {gwt-image:"vsplitter";}

.gwt-DecoratedPopupPanel .popupContent {
}
@sprite .gwt-DecoratedPopupPanel .popupMiddleCenter {gwt-image:"dialog";}

.gwt-DecoratedPopupPanel .popupMiddleCenter {
  padding: decorDialogPadding;
}
@sprite .gwt-DecoratedPopupPanel .popupTopCenter {gwt-image:"borderN";}
@sprite .gwt-DecoratedPopupPanel .popupTopRight, .gwt-DecoratedPopupPanel .popupTopRightInner {gwt-image:"borderNE";}
@sprite .gwt-DecoratedPopupPanel .popupMiddleRight {gwt-image:"borderE";}
@sprite .gwt-DecoratedPopupPanel .popupBottomRight, .gwt-DecoratedPopupPanel .popupBottomRightInner {gwt-image:"borderSE";}
@sprite .gwt-DecoratedPopupPanel .popupBottomCenter {gwt-image:"borderS";}
@sprite .gwt-DecoratedPopupPanel .popupBottomLeft, .gwt-DecoratedPopupPanel .popupBottomLeftInner {gwt-image:"borderSW";}
@sprite .gwt-DecoratedPopupPanel .popupMiddleLeft {gwt-image:"borderW";}
@sprite .gwt-DecoratedPopupPanel .popupTopLeft, .gwt-DecoratedPopupPanel .popupTopLeftInner {gwt-image:"borderNW";}

.gwt-RichTextArea {
  border: decorBorderNormal;
  padding: decorEditPadding;
}
.gwt-RichTextArea:focus,
.gwt-RichTextArea:active {
  border: decorBorderFocused;
  padding: decorEditPadding;
}

@sprite gwt-RichTextArea {gwt-image: "button";}

.gwt-StackPanel {
  border-bottom: decorBorderNormal;
}
@sprite .gwt-StackPanel .gwt-StackPanelItem {gwt-image:"tab";}

.gwt-StackPanel .gwt-StackPanelItem {
  cursor: pointer;
  cursor: hand;
  font: decorTabFont;
  padding: decorTextPadding;
  border: decorBorderTabNorth;
}
@sprite .gwt-StackPanel .gwt-StackPanelContent {gwt-image:"dialog";}
.gwt-StackPanel .gwt-StackPanelContent {
  border: decorBorderTabNorth;
  padding: decorDialogPadding;
}

.gwt-DecoratedStackPanel {
  border-bottom: decorBorderNormal;
}

@sprite .gwt-DecoratedStackPanel .gwt-StackPanelContent {gwt-image:"dialog";}

.gwt-DecoratedStackPanel .gwt-StackPanelContent {
  border: decorBorderNormal;
  border-bottom: 0px;
  padding: decorDialogPadding;
}
.gwt-DecoratedStackPanel .gwt-StackPanelItem {
  cursor: pointer;
  cursor: hand;
}
@sprite .gwt-DecoratedStackPanel .stackItemTopCenter {gwt-image:"borderN";} 
@sprite .gwt-DecoratedStackPanel .stackItemTopRight, .gwt-DecoratedStackPanel .stackItemTopRightInner {gwt-image:"borderNE";}
@sprite .gwt-DecoratedStackPanel .stackItemMiddleRight,.gwt-DecoratedStackPanel .stackItemMiddleRightInner {gwt-image:"borderE";} 
/*
@sprite .gwt-DecoratedStackPanel .stackItemBottomRight, .gwt-DecoratedStackPanel .stackItemBottomRightInner {gwt-image:"borderSE";}
@sprite .gwt-DecoratedStackPanel .stackItemBottomCenter {gwt-image:"borderS";} 
@sprite .gwt-DecoratedStackPanel .stackItemBottomLeft, .gwt-DecoratedStackPanel .stackItemBottomLeftInner {gwt-image:"borderSW";}
*/
@sprite .gwt-DecoratedStackPanel .stackItemMiddleLeft,.gwt-DecoratedStackPanel .stackItemMiddleLeftInner {gwt-image:"borderW";} 
@sprite .gwt-DecoratedStackPanel .stackItemTopLeft, .gwt-DecoratedStackPanel .stackItemTopLeftInner {gwt-image:"borderNW";}


.gwt-DecoratedStackPanel .stackItemMiddleRight,
.gwt-DecoratedStackPanel .stackItemTopRight {
  aborder-right: decorBorderNormal;
}
.gwt-DecoratedStackPanel .stackItemMiddleLeft,
.gwt-DecoratedStackPanel .stackItemTopLeft {
  aborder-left: decorBorderNormal;
}

.gwt-DecoratedStackPanel .stackItemMiddleCenter {
  font: decorFontTab;
}
/*
@sprite .gwt-DecoratedStackPanel .stackItemMiddleCenter,
.gwt-DecoratedStackPanel .gwt-StackPanelItem-first .stackItemTopRight,
.gwt-DecoratedStackPanel .gwt-StackPanelItem-first .stackItemTopLeft,
.gwt-DecoratedStackPanel .gwt-StackPanelItem-below-selected .stackItemTopLeft,
.gwt-DecoratedStackPanel .gwt-StackPanelItem-below-selected .stackItemTopRight,
*/

.gwt-DecoratedStackPanel .gwt-StackPanelItem-first .stackItemTopRight,
.gwt-DecoratedStackPanel .gwt-StackPanelItem-first .stackItemTopLeft {
  border: 0px;
}

.gwt-TabBar {
}
.gwt-TabBar .gwt-TabBarFirst {
  width: 1em;  /* first tab distance from the left */
}
.gwt-TabBar .gwt-TabBarRest {
}
@sprite .gwt-TabBar .gwt-TabBarItem {gwt-image:"tab";}
@sprite .gwt-TabBar .gwt-TabBarItem-selected {gwt-image:"tabSelected";}

.gwt-TabBar .gwt-TabBarItem {
  margin-left: 1em;
  padding: decorTextPadding;
  cursor: pointer;
  cursor: hand;
  color: decorColorTab;
  font-weight: decorFontTab;
  text-align: center;
}
.gwt-TabBar .gwt-TabBarItem-selected {
  cursor: default;
} 
.gwt-TabBar .gwt-TabBarItem-disabled {
  cursor: default;
  color: decorColorDisabled;
}
.gwt-TabPanel {
}
.gwt-TabPanelBottom {
  border: decorBorderNormal;
  overflow: hidden;
  padding: decorDialogPadding;
}

.gwt-DecoratedTabBar {
}
.gwt-DecoratedTabBar .gwt-TabBarFirst {
  width: 1em;  /* first tab distance from the left */
}
.gwt-DecoratedTabBar .gwt-TabBarRest {
}
.gwt-DecoratedTabBar .gwt-TabBarItem {
  border-collapse: collapse;
  margin-left: 1em;
}
.gwt-DecoratedTabBar .tabTopCenter {
  padding: 0px;
  background: #d0e4f6;
}
.gwt-DecoratedTabBar .tabTopLeft,
.gwt-DecoratedTabBar .tabTopRight {
  padding: 0px;
  zoom: 1;
}
.gwt-DecoratedTabBar .tabTopLeftInner,
.gwt-DecoratedTabBar .tabTopRightInner {
  width: 6px;
  height: 6px;
}
.gwt-DecoratedTabBar .tabTopLeft {
  background: url(images/corner.png) no-repeat 0px -55px;
  -background: url(images/corner_ie6.png) no-repeat 0px -55px;
}
.gwt-DecoratedTabBar .tabTopRight {
  background: url(images/corner.png) no-repeat -6px -55px;
  -background: url(images/corner_ie6.png) no-repeat -6px -55px;
}
.gwt-DecoratedTabBar .tabMiddleLeft,
.gwt-DecoratedTabBar .tabMiddleRight {
  width: 6px;
  padding: 0px;
  background: #d0e4f6;
}
.gwt-DecoratedTabBar .tabMiddleLeftInner,
.gwt-DecoratedTabBar .tabMiddleRightInner {
  width: 1px;
  height: 1px;
}
.gwt-DecoratedTabBar .tabMiddleCenter {
  padding: 0px 4px 2px 4px;
  cursor: pointer;
  cursor: hand;
  color: black;
  font-weight: bold;
  text-align: center;
  background: #d0e4f6;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopCenter {
  background: #92c1f0;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopLeft {
  background-position: 0px -61px;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopRight {
  background-position: -6px -61px;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabMiddleLeft,
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabMiddleRight {
  background: #92c1f0;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabMiddleCenter {
  cursor: default;
  background: #92c1f0;
}
.gwt-DecoratedTabBar .gwt-TabBarItem-disabled .tabMiddleCenter {
  cursor: default;
  color: #999999;
}

.gwt-StackLayoutPanel {
  border-bottom: 1px solid #bbbbbb;
}
.gwt-StackLayoutPanel .gwt-StackLayoutPanelHeader {
  cursor: pointer;
  cursor: hand;
  font-weight: bold;
  font-size: 1.3em;
  padding: 3px;
  border: 1px solid #bbbbbb;
  border-bottom: 0px;
  background: #d3def6 url(images/hborder.png) repeat-x 0px -989px;
}
.gwt-StackLayoutPanel .gwt-StackLayoutPanelContent {
  border: 1px solid #bbbbbb;
  border-bottom: 0px;
  background: white;
  padding: 2px 2px 10px 5px;
}

.gwt-TabLayoutPanel {
}
.gwt-TabLayoutPanel .gwt-TabLayoutPanelTabs {
}
.gwt-TabLayoutPanel .gwt-TabLayoutPanelContent {
  border-color: #92c1f0;
  border-style: solid;
  border-width: 3px 2px 2px;
  overflow: hidden;
  padding: 6px;
}
.gwt-TabLayoutPanel .gwt-TabLayoutPanelTab {
  margin-left: 6px;
  padding: 3px 6px 3px 6px;
  cursor: pointer;
  cursor: hand;
  color: black;
  font-weight: bold;
  text-align: center;
  background: #d0e4f6;
}
.gwt-TabLayoutPanel .gwt-TabLayoutPanelTab-selected {
  cursor: default;
  background: #92c1f0;
}

@sprite .gwt-SplitLayoutPanel-HDragger {gwt-image:"hsplitter";} 
.gwt-SplitLayoutPanel-HDragger {
  cursor: col-resize;
}

@sprite .gwt-SplitLayoutPanel-VDragger {gwt-image:"vsplitter";} 
.gwt-SplitLayoutPanel-VDragger {
  cursor: row-resize;
}
